# -*- encoding: utf-8 -*-
import random
number = random.randint(1,100)
print("Begin Guess you have five chance to play!")
count =1
while count < 6:
    GuessNumber = int(input("please input GuessNumber"))
    if GuessNumber == number:
        print("right")
        break
    elif GuessNumber > number:
        print('too big')
    else:
        print('too small')
    count +=1
    print(("You have %d chance"%(6-count)))
    print("SysNumber is %d" % number)